Skip to content

Fix confused-deputy broker bypass (C1) + authenticate the approval endpoint (C2)#3

Merged
koishore merged 2 commits into
mainfrom
fix/broker-and-approval-auth
Jun 7, 2026
Merged

Fix confused-deputy broker bypass (C1) + authenticate the approval endpoint (C2)#3
koishore merged 2 commits into
mainfrom
fix/broker-and-approval-auth

Conversation

@koishore

@koishore koishore commented Jun 7, 2026

Copy link
Copy Markdown
Member

Security fixes in the reference integration (7 tests pass).

  • C1: broker reconstructs the outbound URL from the authorized action; an agent-supplied query not represented in params is dropped/refused (spec §4.2).
  • C2: the approval endpoints now require DELEGO_APPROVAL_TOKEN, separate from the agent surface — the human-in-the-loop gate can no longer be self-approved by the agent.

🤖 Generated with Claude Code

koishore and others added 2 commits June 8, 2026 03:23
…dpoint (C2)

C1: the broker reconstructs the outbound URL from the authorized action and no longer forwards an agent-supplied query not in params. C2: the human-approval endpoints now require DELEGO_APPROVAL_TOKEN, a trust domain separate from the agent-facing /propose & /resolve, so a compromised agent can't approve its own actions. Adds tests/test_approval_auth.py.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@koishore koishore merged commit 2906dbb into main Jun 7, 2026
3 checks passed
@koishore koishore deleted the fix/broker-and-approval-auth branch June 7, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant